<!DOCTYPE html>
<html lang="ru">
<head>
	<meta charset="utf-8"/>
	<title>Админ-панель T4</title>

	<!-- Mobile viewport optimisation -->
	<meta name="viewport" content="width=device-width, initial-scale=1.0">

	<!-- (en) Add your meta data here -->
	<!-- (de) Fuegen Sie hier ihre Meta-Daten ein -->

	<link href="{{T4.url}}/include/yaml/admin.css" rel="stylesheet" type="text/css"/>
	<!--[if lte IE 7]>
	<link href="{{T4.url}}/include/yaml/yaml/core/iehacks.css" rel="stylesheet" type="text/css" />
	<![endif]-->

	<!--[if lt IE 9]>
	<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
	<![endif]-->
        
        <script type="text/javascript" src="{{T4.url}}/include/jquery/jquery.min.js"></script>
        
        <script type="text/javascript" src="{{T4.url}}/include/redactor/redactor.js"></script>
        <link rel="stylesheet" href="{{T4.url}}/include/redactor/css/redactor.css" type="text/css" />
        <script type="text/javascript">
            $(function() {
                $('.redactor').redactor();
            });
        </script>	
 

        
</head>
<body class="demo-2col">
<ul class="ym-skiplinks">
	<li><a class="ym-skip" href="#nav">Skip to navigation (Press Enter)</a></li>
	<li><a class="ym-skip" href="#main">Skip to main content (Press Enter)</a></li>
</ul>

<div class="ym-wrapper">
	<div class="ym-wbox">
		<header>
			<h1>Админ-панель T4</h1>
		</header>
		<nav id="nav">
			<div class="ym-hlist" >
				<ul>
                                        <li class="active"><a href="/admin"><strong>Главная</strong></a></li>
					<li><a href="/admin/pages">Страницы</a></li>
					<li><a href="/admin/newspaper">Газета</a></li>
				</ul>
				<form class="ym-searchform">
					<input class="ym-searchfield" type="search" placeholder="Search..." />
					<input class="ym-searchbutton" type="submit" value="Search" />
				</form>
			</div>
		</nav>
		<div id="main">
			<div class="ym-column linearize-level-1">
				<div class="ym-col1">
					<div class="ym-cbox">
                                                {% if errors %}
                                                    {% for error in errors %}
                                                    <section class="box error">{{ error }}</section>
                                                    {% endfor %}
                                                {% endif %}
						{% if content %}
						<section class="box info">
                                                        <div>{{content|raw}}</div>
						</section>
						{% endif %}
                                                {% if return %}<section class="box success"><a href="{{ return }}">вернуться</a></section>{% endif %}
					</div>
				</div>
				<aside class="ym-col3">
					<div class="ym-cbox">
						<h2>Sidebar</h2>
						<h4>Widget A</h4>
						<ul>
							<li>Item 1</li>
							<li>Item 2</li>
							<li>Item 3</li>
							<li>Item 4</li>
							<li>Item 5</li>
						</ul>
						<h4>Widget B</h4>
						<ul>
							<li>Item 1</li>
							<li>Item 2</li>
							<li>Item 3</li>
						</ul>
						<h4>Widget C</h4>
						<ul>
							<li>Item 1</li>
							<li>Item 2</li>
							<li>Item 3</li>
						</ul>
					</div>
				</aside>
			</div>
		</div>
		<footer>
			<p>© TO4KA Programming Team 2011 &ndash; Layout based on <a href="http://www.yaml.de">YAML</a></p>
		</footer>
	</div>
</div>

<!-- full skip link functionality in webkit browsers -->
<script src="{{T4.url}}/include/yaml/yaml/core/js/yaml-focusfix.js"></script>
</body>
</html>
